Pronamic\WordPress\Pay\Core\Gateway S

Total Complexity 35
Dependencies 12
Dependents 7
Total lines 363
Lines of code 128
Logical lines of code 62
Comment lines 171
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
get_transient_available_payment_methods()
S
57 6 17
first_payment_method_field()
S
61 4 13
get_form_html()
S
52 3 27
redirect_via_http()
S
63 3 11
redirect()
S
64 3 11
redirect_via_html()
S
65 2 9
start()
S
91 1 2
get_output_html()
S
76 1 4
get_output_fields()
S
82 1 3
create_refund()
S
80 1 3
__construct()
S
80 1 3
register_payment_method()
S
81 1 3
get_available_payment_methods()
S
82 1 3
payment_redirect()
S
91 1 2
is_html_form()
S
80 1 3
is_http_redirect()
S
80 1 3
set_method()
S
81 1 3
get_payment_methods()
S
80 1 3
get_payment_method()
S
80 1 3
update_status()
S
91 1 2